package cn.sjx.auth.service;


import cn.sjx.auth.domain.Role;
import cn.sjx.auth.query.RoleQuery;
import cn.sjx.basic.service.BasicService;
import cn.sjx.basic.utils.PageList;
import cn.sjx.dto.RolePermissionDTO;

import java.io.Serializable;
import java.util.List;

public interface RoleService extends BasicService<Role> {

   //PageList<Role> pageList(RoleQuery roleQuery);

    void setRolePermission(RolePermissionDTO dto);

    List<String> getPermissionByRoleId(Long roleId);
}
